/**
 *
 * @properties={typeid:24,uuid:"b4e0e611-762f-4ad1-83b5-2af83e573f7a"}
 */
function Alta()
{
/*	controller.newRecord()
	userv_id = forms.tab_cabecera.userv_id
	valuelist_name = forms.tab_cabecera.valuelist_name */
	tab_cabecera_to_tablas_detalle.newRecord()
}

/**
 *
 * @properties={typeid:24,uuid:"dbcfa017-3264-4d69-b978-37f4c53c98f7"}
 */
function Baja()
{
	var resp = plugins.dialogs.showQuestionDialog( 'Confirma',  '¿Seguro que desea dar de baja?',  'Si', 'No')
	if (resp == 'Si')
		controller.deleteRecord()
}
